package com.heima.user;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@Slf4j
@EnableFeignClients // feign 远程调用 在同工程中, 不需要扫描包
public class UserApp {
    public static void main(String[] args) {
        SpringApplication.run(UserApp.class, args);
        log.info("UserApp 项目启动成功了!");
    }
}
